<?php

namespace app\console\model;

use think\Db;
use think\Model;

class Feedback extends Model
{
    protected function getTypeAttr($value,$data){
        $ret = Db::name('feedback_type')->where('id',$data['type_id'])->value('title');
        return $ret;
    }
}
